package com.time.hellotime.servermodel.dynamics;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 动态
 * Created by Bing on 2017/10/26.
 * E-mail is tx16bing@163.com
 */

public class Dynamics {

    /**
     * picList : [{"id":"图片id","picUrl":"图片地址"}]
     * userInfo : {"accountName":"昵称","id":"帖子用户id","logoUrl":"0","name":"0"}
     * createAt : 创建时间
     * content : 帖子内容
     * id : 当前帖子id
     * likeNum : 点赞数
     * latitude : 纬度
     * location : 位置
     * longtitude : 经度
     * commentNum : 评论数
     */

    @SerializedName("userInfo")
    private UserInfoBean userInfo;
    @SerializedName("createAt")
    private String createAt;
    @SerializedName("content")
    private String content;
    @SerializedName("id")
    private String id;
    @SerializedName("likeNum")
    private String likeNum;
    @SerializedName("isLike")
    private String likeState;
    @SerializedName("latitude")
    private String latitude;
    @SerializedName("location")
    private String location;
    @SerializedName("longitude")
    private String longtitude;
    @SerializedName("commentNum")
    private String commentNum;
    @SerializedName("shareUrl")
    private String shareUrl;
    @SerializedName("picList")
    private List<Pic> picList;
    @SerializedName("userId")
    private String userId;

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(String likeNum) {
        this.likeNum = likeNum;
    }

    public String getLikeState() {
        return likeState;
    }

    public void setLikeState(String likeState) {
        this.likeState = likeState;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLongtitude() {
        return longtitude;
    }

    public void setLongtitude(String longtitude) {
        this.longtitude = longtitude;
    }

    public String getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(String commentNum) {
        this.commentNum = commentNum;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public List<Pic> getPicList() {
        return picList;
    }

    public void setPicList(List<Pic> picList) {
        this.picList = picList;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public static class UserInfoBean {
        /**
         * id : 帖子用户id
         * logoUrl : 0
         * name : 0
         */

        @SerializedName("id")
        private String id;
        @SerializedName("logoUrl")
        private String logoUrl;
        @SerializedName("name")
        private String name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLogoUrl() {
            return logoUrl;
        }

        public void setLogoUrl(String logoUrl) {
            this.logoUrl = logoUrl;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
